#ifndef TEXT_H_
#define TEXT_H_

#include <oslib/oslib.h>
#include "Resizable2DInterface.h"
#include "Drawing.h"
#include "DrawingCanvas.h"
#include "Color.h"
#include "Types.h"

class Text : public Resizable2DInterface
{
	public:
		virtual ~Text(){}
		Text();
		Text(string _text,int _x, int _y, DrawingCanvas *_canvas);
		Text(string _text,int _x, int _y,Color c, DrawingCanvas *_canvas);
		
		virtual void setText(string _text);
		virtual void setFont(OSL_FONT *_font);
		virtual void setFontSize(float fsize);
		virtual void setOptions(unsigned short int foptions);
		virtual void setBgColor(Color bg);
		
		virtual string getText();
		virtual OSL_FONT* getFont();
		virtual float getFontSize();
		unsigned short int getOptions();
		virtual Color getBgColor();
		
		virtual int getWidth();
		virtual int getHeight();
		virtual Size getSize();

};

#endif /*TEXT_H_*/
